package ejb.facades.location;

import entities.location.Address;
import entities.location.Country;
import java.util.List;
import javax.ejb.Local;

/**
 * Trabalho PD - 2014/2015
 * @author a21210380 a21210392
 */
@Local
public interface AddressFacadeLocal {

    void create(Address address);

    void edit(Address address);

    void remove(Address address);

    Address find(Object id);

    List<Address> findAll();

    List<Address> findRange(int[] range);
    
    List<Address> findAllAddressFromCountry(Country country);

    int count();

}
